import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}

export const getOssConfig = () => {
  return request({
    url: "/common/sts",
    method: 'get'
  })
}

export const deleteOssFile = (data) => {
  return request({
    url: "/common/deleteOssFile",
    method: 'get',
    params: data
  })
}